﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Runtime.Serialization;
using System.ServiceModel;
using System.Text;
using DTOService;

namespace DAOService
{
    // NOTE: You can use the "Rename" command on the "Refactor" menu to change the interface name "ILoaiSanPham" in both code and config file together.
    [ServiceContract]
    public interface IDAOLoaiSanPham
    {
        [OperationContract]
        LoaiSanPham[] SelectLoaiSanPham();
        [OperationContract]
        int UpdateLoaiSanPham(LoaiSanPham parr);
        [OperationContract]
        int DeleteLoaiSanPham(LoaiSanPham parr);
        [OperationContract]
        int InsertLoaiSanPham(LoaiSanPham parr);
        [OperationContract]
        LoaiSanPham GetLoaiSanPham(int id);
    }
}
